package com.cug.smartranch.animal.admin.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 动物坐标新增接口请求参数实体
 */
@Data
@Schema(description = "动物记录新增参数")
public class AnimalLocationSaveReqDTO {
    /**
     * 动物id
     */
    @Schema(description = "动物id",
            example = "1",
            required = true)
    private Long animalId;

    /**
     * 维度
     */
    @Schema(description = "动物维度",
            example = "123.123",
            required = true)
    private BigDecimal latitude;

    /**
     * 经度
     */
    @Schema(description = "动物经度",
            example = "123.123",
            required = true)
    private BigDecimal longitude;
}
